-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added missing items to feature #152
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the contribution!
I have some minor comments.
Task from my side is that I still need to update the project related to the changes to publishing to Maven Central, need to do that before a release can be done.
@@ -203,6 +216,18 @@ class ArtifactFeature implements Feature { | |||
def invokeMethod(String name, def args) { | |||
//TODO support manually adding a feature reference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the TODO can be removed then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed , I had to miss that
build.gradle
Outdated
doFirst { | ||
println "isRelease: $isRelease" | ||
println "isCI: $isCI" | ||
} | ||
onlyIf { | ||
isRelease || isCI | ||
// isRelease || isCI | ||
false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please exclude these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahhh, I am so sorry this change was not supposed to be a part of this pull request, now the original code is restored
I have also added a small explanation to README.md. I hope the content fits the rest of the document. |
I have added missing items like copyright and description to the feature.
Another missing item are required features. So now the user may define one or more requirements for a feature, see example below:
platform {
feature(id: 'some_feature',
name: '%feature.label',
label: '%feature.label',
provider: '%feature.providerName',
license: '%license.url',
copyright: "%feature.copyright",
description: "%feature.description"
)
{
requires (
featureName: "required_feature",
version: "10.2.0",
match: "greaterOrEqual"
)
}
//here are the dependencies...
}